<?php
/**
 *
 * User: chenzheng
 * Date: 2023/5/20
 * Time: 11:14
 */

namespace app\api\library\promotion\getPromotionUser;

use app\api\help\IdentityCard;
use think\facade\Db;

class V
{
    public static function run($param)
    {
        $userId    = _checkEmptyParam($param[ 'userId' ], '用户不能为空');
        $promotion = Db::name('mall_promotion')->where('user_id', $userId)->find();
        
        
        _outPut(200, $promotion);
    }
}